xen/arm64: Correctly align VFP regs
authorJulien Grall <julien.grall@linaro.org>
Thu, 10 Apr 2014 11:43:57 +0000 (12:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 16 Apr 2014 16:00:47 +0000 (17:00 +0100)
commit9b4e96724eeb916f2cd311d9133f00c216caa321
treebff28401e36924a1a932676a80fb27b395be7c46
parent34f21f9d2b1f806fc15e66d6dff9138ec45f5565
xen/arm64: Correctly align VFP regs

On arm64, VFP instructions requires vfpregs to be 128-byte aligned.

By chance, the field is already correctly aligned. In the case if someone
decides to add a new field before, Xen will receive a data abort as soon as
it saves/restores VFP.

We are safe on arm32 as the only constraint is to be 32-byte aligned.

Reported-by: Chen Baozi <baozich@gmail.com>
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/asm-arm/arm64/vfp.h